Integrand size = 23, antiderivative size = 77 \[ \int \frac {\sqrt {a+b x} (c+d x) (e+f x)}{x} \, dx=2 c e \sqrt {a+b x}-\frac {2 (a+b x)^{3/2} (2 a d f-5 b (d e+c f)-3 b d f x)}{15 b^2}-2 \sqrt {a} c e \text {arctanh}\left (\frac {\sqrt {a+b x}}{\sqrt {a}}\right ) \]
[Out]
Time = 0.02 (sec) , antiderivative size = 77, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.174, Rules used = {152, 52, 65, 214} \[ \int \frac {\sqrt {a+b x} (c+d x) (e+f x)}{x} \, dx=-2 \sqrt {a} c e \text {arctanh}\left (\frac {\sqrt {a+b x}}{\sqrt {a}}\right )-\frac {2 (a+b x)^{3/2} (2 a d f-5 b (c f+d e)-3 b d f x)}{15 b^2}+2 c e \sqrt {a+b x} \]
[In]
[Out]
Rule 52
Rule 65
Rule 152
Rule 214
Rubi steps \begin{align*} \text {integral}& = -\frac {2 (a+b x)^{3/2} (2 a d f-5 b (d e+c f)-3 b d f x)}{15 b^2}+(c e) \int \frac {\sqrt {a+b x}}{x} \, dx \\ & = 2 c e \sqrt {a+b x}-\frac {2 (a+b x)^{3/2} (2 a d f-5 b (d e+c f)-3 b d f x)}{15 b^2}+(a c e) \int \frac {1}{x \sqrt {a+b x}} \, dx \\ & = 2 c e \sqrt {a+b x}-\frac {2 (a+b x)^{3/2} (2 a d f-5 b (d e+c f)-3 b d f x)}{15 b^2}+\frac {(2 a c e) \text {Subst}\left (\int \frac {1}{-\frac {a}{b}+\frac {x^2}{b}} \, dx,x,\sqrt {a+b x}\right )}{b} \\ & = 2 c e \sqrt {a+b x}-\frac {2 (a+b x)^{3/2} (2 a d f-5 b (d e+c f)-3 b d f x)}{15 b^2}-2 \sqrt {a} c e \tanh ^{-1}\left (\frac {\sqrt {a+b x}}{\sqrt {a}}\right ) \\ \end{align*}
Time = 0.14 (sec) , antiderivative size = 91, normalized size of antiderivative = 1.18 \[ \int \frac {\sqrt {a+b x} (c+d x) (e+f x)}{x} \, dx=\frac {2 \sqrt {a+b x} \left (15 b^2 c e+5 b d e (a+b x)+5 b c f (a+b x)-5 a d f (a+b x)+3 d f (a+b x)^2\right )}{15 b^2}-2 \sqrt {a} c e \text {arctanh}\left (\frac {\sqrt {a+b x}}{\sqrt {a}}\right ) \]
[In]
[Out]
Time = 1.56 (sec) , antiderivative size = 86, normalized size of antiderivative = 1.12
method | result | size |
pseudoelliptic | \(\frac {-2 \sqrt {a}\, b^{2} c e \,\operatorname {arctanh}\left (\frac {\sqrt {b x +a}}{\sqrt {a}}\right )-\frac {4 \sqrt {b x +a}\, \left (\frac {5 \left (-x \left (\frac {3 f x}{5}+e \right ) d -3 \left (\frac {f x}{3}+e \right ) c \right ) b^{2}}{2}-\frac {5 \left (\left (\frac {f x}{5}+e \right ) d +c f \right ) a b}{2}+a^{2} d f \right )}{15}}{b^{2}}\) | \(86\) |
derivativedivides | \(\frac {\frac {2 d f \left (b x +a \right )^{\frac {5}{2}}}{5}-\frac {2 a d f \left (b x +a \right )^{\frac {3}{2}}}{3}+\frac {2 b c f \left (b x +a \right )^{\frac {3}{2}}}{3}+\frac {2 b d e \left (b x +a \right )^{\frac {3}{2}}}{3}+2 b^{2} c e \sqrt {b x +a}-2 \sqrt {a}\, b^{2} c e \,\operatorname {arctanh}\left (\frac {\sqrt {b x +a}}{\sqrt {a}}\right )}{b^{2}}\) | \(89\) |
default | \(\frac {\frac {2 d f \left (b x +a \right )^{\frac {5}{2}}}{5}-\frac {2 a d f \left (b x +a \right )^{\frac {3}{2}}}{3}+\frac {2 b c f \left (b x +a \right )^{\frac {3}{2}}}{3}+\frac {2 b d e \left (b x +a \right )^{\frac {3}{2}}}{3}+2 b^{2} c e \sqrt {b x +a}-2 \sqrt {a}\, b^{2} c e \,\operatorname {arctanh}\left (\frac {\sqrt {b x +a}}{\sqrt {a}}\right )}{b^{2}}\) | \(89\) |
[In]
[Out]
none
Time = 0.25 (sec) , antiderivative size = 217, normalized size of antiderivative = 2.82 \[ \int \frac {\sqrt {a+b x} (c+d x) (e+f x)}{x} \, dx=\left [\frac {15 \, \sqrt {a} b^{2} c e \log \left (\frac {b x - 2 \, \sqrt {b x + a} \sqrt {a} + 2 \, a}{x}\right ) + 2 \, {\left (3 \, b^{2} d f x^{2} + 5 \, {\left (3 \, b^{2} c + a b d\right )} e + {\left (5 \, a b c - 2 \, a^{2} d\right )} f + {\left (5 \, b^{2} d e + {\left (5 \, b^{2} c + a b d\right )} f\right )} x\right )} \sqrt {b x + a}}{15 \, b^{2}}, \frac {2 \, {\left (15 \, \sqrt {-a} b^{2} c e \arctan \left (\frac {\sqrt {b x + a} \sqrt {-a}}{a}\right ) + {\left (3 \, b^{2} d f x^{2} + 5 \, {\left (3 \, b^{2} c + a b d\right )} e + {\left (5 \, a b c - 2 \, a^{2} d\right )} f + {\left (5 \, b^{2} d e + {\left (5 \, b^{2} c + a b d\right )} f\right )} x\right )} \sqrt {b x + a}\right )}}{15 \, b^{2}}\right ] \]
[In]
[Out]
Time = 9.94 (sec) , antiderivative size = 122, normalized size of antiderivative = 1.58 \[ \int \frac {\sqrt {a+b x} (c+d x) (e+f x)}{x} \, dx=\begin {cases} \frac {2 a c e \operatorname {atan}{\left (\frac {\sqrt {a + b x}}{\sqrt {- a}} \right )}}{\sqrt {- a}} + 2 c e \sqrt {a + b x} + \frac {2 d f \left (a + b x\right )^{\frac {5}{2}}}{5 b^{2}} + \frac {2 \left (a + b x\right )^{\frac {3}{2}} \left (- a d f + b c f + b d e\right )}{3 b^{2}} & \text {for}\: b \neq 0 \\\sqrt {a} \left (c e \log {\left (x \right )} + c f x + d e x + \frac {d f x^{2}}{2}\right ) & \text {otherwise} \end {cases} \]
[In]
[Out]
none
Time = 0.30 (sec) , antiderivative size = 90, normalized size of antiderivative = 1.17 \[ \int \frac {\sqrt {a+b x} (c+d x) (e+f x)}{x} \, dx=\sqrt {a} c e \log \left (\frac {\sqrt {b x + a} - \sqrt {a}}{\sqrt {b x + a} + \sqrt {a}}\right ) + \frac {2 \, {\left (15 \, \sqrt {b x + a} b^{2} c e + 3 \, {\left (b x + a\right )}^{\frac {5}{2}} d f + 5 \, {\left (b d e + {\left (b c - a d\right )} f\right )} {\left (b x + a\right )}^{\frac {3}{2}}\right )}}{15 \, b^{2}} \]
[In]
[Out]
none
Time = 0.31 (sec) , antiderivative size = 102, normalized size of antiderivative = 1.32 \[ \int \frac {\sqrt {a+b x} (c+d x) (e+f x)}{x} \, dx=\frac {2 \, a c e \arctan \left (\frac {\sqrt {b x + a}}{\sqrt {-a}}\right )}{\sqrt {-a}} + \frac {2 \, {\left (15 \, \sqrt {b x + a} b^{10} c e + 5 \, {\left (b x + a\right )}^{\frac {3}{2}} b^{9} d e + 5 \, {\left (b x + a\right )}^{\frac {3}{2}} b^{9} c f + 3 \, {\left (b x + a\right )}^{\frac {5}{2}} b^{8} d f - 5 \, {\left (b x + a\right )}^{\frac {3}{2}} a b^{8} d f\right )}}{15 \, b^{10}} \]
[In]
[Out]
Time = 2.85 (sec) , antiderivative size = 136, normalized size of antiderivative = 1.77 \[ \int \frac {\sqrt {a+b x} (c+d x) (e+f x)}{x} \, dx=\left (a\,\left (\frac {2\,b\,c\,f-4\,a\,d\,f+2\,b\,d\,e}{b^2}+\frac {2\,a\,d\,f}{b^2}\right )+\frac {2\,\left (a\,d-b\,c\right )\,\left (a\,f-b\,e\right )}{b^2}\right )\,\sqrt {a+b\,x}+\left (\frac {2\,b\,c\,f-4\,a\,d\,f+2\,b\,d\,e}{3\,b^2}+\frac {2\,a\,d\,f}{3\,b^2}\right )\,{\left (a+b\,x\right )}^{3/2}+\frac {2\,d\,f\,{\left (a+b\,x\right )}^{5/2}}{5\,b^2}+\sqrt {a}\,c\,e\,\mathrm {atan}\left (\frac {\sqrt {a+b\,x}\,1{}\mathrm {i}}{\sqrt {a}}\right )\,2{}\mathrm {i} \]
[In]
[Out]